package com.authine.cloudpivot.ext.dto.kingDee;

import com.authine.cloudpivot.ext.enums.kingdee.FormEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "保存凭证封装的一个临时类")
public class Certificate implements Serializable {

    private static final long serialVersionUID = 3437983303179661729L;

    @Schema(description = "金蝶表单枚举")
    private FormEnum formEnum;
    @Schema(description = "内容")
    private String content;
    @Schema(description = "业务数据关联凭证数据条件")
    private KingDeeBusiness business;

    public Certificate(FormEnum formEnum, String content) {
        this.formEnum = formEnum;
        this.content = content;
    }
}
